package com.xiaoxi.prototypemode.product;

/**
 * @ClassName AbstractProduct
 * @Description
 * @Author xiaoxi
 * @Date 2023/3/12 15:28
 * @Version 1.0
 */
public abstract class AbstractProduct implements IProduct {
    @Override
    public IProduct createClone() {
        try {
            return (IProduct) clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return null;
    }
}
